<?php
namespace app\index\controller;
use think\Controller;
use think\Db;
use think\Request;
class Commapi extends Base
{
    /***
     *  增加电子签名
     */
    public function GetSignName()
    {
        $signName = input('signName');
        $url = GetSignUrl($signName);
        if (empty($signName) || empty($url)){
            return show('0','error', $url);
        }
        //开始记录
        Model('Log')->addLog("新增了一个电子签名.**.$signName**", 1, $signName);
        return show('1','success',$url);
    }
}